home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13135 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  826 b 

  1. Path: saclink1.csus.edu!rpope
  2. From: rpope@saclink1.csus.edu (Ralph A Pope)
  3. Newsgroups: comp.lang.c
  4. Subject: Skipping ahead in a file?
  5. Date: 4 Apr 1996 19:28:45 GMT
  6. Organization: California State University Sacramento
  7. Message-ID: <4k17td$chn@news.csus.edu>
  8. NNTP-Posting-Host: rpope%@saclink1.csus.edu
  9. X-Newsreader: TIN [version 1.2 PL2.csus01]
  10.  
  11. OK, basically what I want to do is take a file that's 20*(12+1)*4*4 bytes 
  12. long, and skip ahead 61 characters in the program several times.  Then I 
  13. want to be able to reset the file pointer to start 20 characters away 
  14. from the previous starting point.  I want to do this a total of 5 times.  
  15. Any idea of how to get this working?  I can't seem to figure out 
  16. fseek().  I'm using MS-DOS 6.2 with DJGPP, BTW.  Any help you can give me 
  17. would be GREATLY appreciated! :)
  18.  
  19. -Michael P.
  20.